package cn.myspringboot.system.mapper;

import cn.myspringboot.base.mapper.BaseMapper;
import cn.myspringboot.user.domain.Employee;
import cn.myspringboot.user.domain.Logininfo;
import cn.myspringboot.user.domain.Menu;
import cn.myspringboot.user.domain.vo.LoginVo;

import java.util.List;

public interface LogininfoMapper extends BaseMapper<Logininfo> {

    Logininfo fingLogininfoByUserNameAndType(LoginVo loginVo);

    Employee fingEmployeeByLogininfo(Long id);

    List<Menu> fingMenuByEmployeeId(Long id);

    List<String> fingPerByEmployeeId(Long id);
}
